home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
PROGRAMMING
/
DOCS
/
OSGBPB
next >
Wrap
Text File
|
1998-06-02
|
353b
|
22 lines
offset=0
REPEAT
SYS "OS_GPBP",9,directory$,block%,how_many,offset,size,"*" TO ,,,got,offset
IF (got) THEN
process what you got
(if you set how_many to 1, it'll only be 1)
ENDIF
UNTIL offset = -1
-- Nick Clark
I think I'd prefer :
WHILE got > 0
process element
got -= 1
ENDWHILE
-- Matthew Wilcox